package com.xuan.contest.service;

import com.baomidou.mybatisplus.service.IService;
import com.xuan.contest.entry.ContestEntity;
import com.xuan.contest.entry.ProblemEntity;
import com.xuan.contest.entry.UserAnswerEntity;

import java.util.Queue;

/**
 * @author XinZhaoXuan
 * @date 2018/9/7
 */
public interface IConTestService extends IService<ContestEntity>  {

    /**
     * @param entity
     */
    void answer(UserAnswerEntity entity);

    Queue<UserAnswerEntity> getQueue();

    void approvalContest(Integer id);
}
